// var base = require('./base');
// var open = base.open;

// es6语法
import {open} from './base';

if (open) {
    document.body.innerHTML =
        `<h1>欢迎入坑</h1>`;
}else {
    document.body.innerHTML =
        `<h1>暂不开放注册</h1>`;
}
